<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>成员列表</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="../css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="../css/style.css"/>
		<link rel="stylesheet" href="../css/iconfont.css" />
		<link rel="stylesheet" href="../css/wallet.css" />
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
		    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" href="JavaScript:history.go(-1)"></a>
		    <h1 class="mui-title">成员列表</h1>		    
		</header>
		<div class="mui-content fjysq_content">
			<ul class="fjysq_memlis">
				<!--<li>
					<a href="#" class="clearfix">
						<div class="fjysq_memimg"><img src="../images/toux.jpg"></div>
						<div class="fjysq_meminfo">
							<p class="fjysq_memnam">徐洛奇工作室</p>
							<p class="fjysq_memdt">夏季优惠大酬宾</p>
						</div>
					</a>
				</li>-->
				
			</ul>
		</div>
	</body>
</html>
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script type="text/javascript" src="../js/layer/layer.min.js"></script>
<script type="text/javascript" src="../js/app.js"></script>
<script>
	$(function(){
		var union_id = getUrlParam("union_id");
		$.ajax({
			url: APP.api_url + 'wallet/union_leaguer_list',
			data: {
				token		: get_token(),
				uid			: getUid(),
				union_id	: union_id
			},
			success: function(data) {
				if(data.code == 200) {
					var union_item_list = data.data;
					union_item_htm = '';
					for(var i = 0;i<union_item_list.length;i++){
						var pic = user_tupian(union_item_list[i].thumb,'../images/toux.jpg');
						
						union_item_htm = "<li><div class='fjysq_memimg'>"+
										  "<img src='"+pic+"'></div>"+
										  "<div class='fjysq_meminfo'>"+
										  "<p class='fjysq_memnam'>"+union_item_list[i].store_name+"</p>"+
										  "<p class='fjysq_memdt'>"+union_item_list[i].business_scope+"</p></div></li>";
						$('.fjysq_memlis').append(union_item_htm);
					}
				}else{
					layer.msg(data.msg, {
						  time: 2000 
						}, function(){
							location.href=APP.web_root+'shopwallet/alliance_fjlist.html';
						});
				}
			}
		});
		
	})
</script>
